// AutoUpateT.h: interface for the CAutoUpateT class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_MYEXECUTE_H__F1DE8578_B0AF_4887_9C48_D52928128E88__INCLUDED_)
#define AFX_EXECUTE_H__F1DE8578_B0AF_4887_9C48_D52928128E88__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CMyExecute  
{
public:
	CMyExecute();
	virtual ~CMyExecute();

protected:
	bool Com_RestartComputer();
	bool Com_Sleep(char *pCommand);
	bool Com_CopyFile(char *pCommand);
	bool Com_Rename(char *pCommand);
	bool Com_WinExec(char *pCommand);
	bool Com_KillProcess(char *pCommand);
	bool Com_DeleteFile(char *pCommand);
	bool TranslatePath(char *pPath);	
	bool CreateDir(char *pSaveFile);
	void GetPrivilege();
	bool IsSystemNT();
	void LowerCase(char *pBuf,int nSIze);
public:
	bool ExecuteCommand(char *pCommand);
};

#endif // !defined(AFX_AUTOUPATET_H__F1DE8578_B0AF_4887_9C48_D52928128E88__INCLUDED_)
